package com.ruoyi.common.core.pojo.vo;


import com.ruoyi.common.core.enums.LoginEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

@Getter
@Setter
@NoArgsConstructor
@SuperBuilder
@Schema(name = "登录返回信息")
public class TokenVO<T> {
    @Schema(name = "客户端类型")
    private LoginEnum loginEnum;
    @Schema(name = "令牌")
    private String authorization;
    @Schema(name = "用户名")
    private String id;
    @Schema(name = "融云token")
    private String rongYunToken;
    @Schema(name = "昵称")
    private String nickname;
    @Schema(name = "头像")
    private String avatarUrl;
    @Schema(name = "其他信息")
    private T other;
    @Schema(name = "0未实名1已实名")
    private Integer isAuthentication = 0;

}
